package net.huashitong.supervision.task.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户科室关联表；
 */
@Entity
@Table(name = "t_sys_room_user")
public class RoomUserEntity extends StringEntity {
    private String userId;
    private String roomId;
    private int valid;//有效标志


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public int getValid() {
        return valid;
    }

    public void setValid(int valid) {
        this.valid = valid;
    }
}
